package nus.ss.thread;

public class TestThreadTwo {
    public static void main(String[] args) {


        ThreadDemoTwo t = new ThreadDemoTwo();

        Thread t1 = new Thread(t);  //将Runnable接口的类的对象扔进Thread的构造方法里面
        Thread t2 = new Thread(t);
        Thread t3 = new Thread(t);

        t1.start();
        t2.start();
        t3.start();

    }
}
